package com.itc.bpm.framework.factory.vo;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Map;

/**
 *@title BpmStartVO
 *@description
 *@author yl
 *@create 2023/12/13 0013
 */
@Data
public class BpmStartVO implements Serializable {

    @ApiModelProperty("流程model id,一次启动多个按照逗号分隔")
    @NotNull(message = "流程模型id不能为空")
    private String modelId;
    @ApiModelProperty("业务主键id")
    @NotNull(message = "业务主键不能为空")
    private String businessKey;
    @ApiModelProperty("流程启动相关信息")
    Map<String,Object> data;
    @ApiModelProperty(value = "关联航班号")
    @NotNull(message = "关联航班号不能为空")
    private String flightNumber;
}
